Got buttons and calculations working