added custom data type for button presses