all buttons work correspondingly