implemented moving and spawning