rearranged order of methods