made some buttons work