named parameters, plus added team_id for client side processing