sorted Main to find methods faster