added basic cow spawn code