use table for buttons and its statements