A tiny switch in DNA allows neurons to change their function depending on the environment and alter behavior in worms.