generalized max hero counts and changed layout