Added Movement Validation Function