made all buttons work