added method to see movement and input right commands