changed search order