added some changes to make the six axis work
changes