pushes the right buttons