Buttons coded and tested