works except for the buttons