Latest Code with Apprentice code