added basic logic for monsters