add the practice code for button