making some buttons work