changed bracket style for functions
team style update
moved team validation to validation helper