completed the base spell system