inputMove change z to y