puts buttons into seperate group