corrected parameter type for team fitness calculation