team if statement added