changed spwanrate from 2 to 10