add team allocation calculations