got the basic player/safezone functions working