implement player, add spells
connectivity functions