updated to allow for more agents on screen