some info on how spells are coded