added system for dynamic number of roaches