Planning and Preparation for Learning