removed unused button variable