starting to code magics