implementing start of magic system