Added and set up Magical Record