fixed button code. changed axis code.