Figuring out dates and buttons and stuff