Inserted skeleton code for movement mechanics