Modified for button instruction