Check for button method