adding control buttons