Developing Behavior with a Goal