Added Code to Preparation View