Of goals and habits