added buttons and generated team controller