Changed order of check preferenence