change order of check