added button callbacks. not working for some reason?