Intentional change, intrinsic motivations, and goal generation