find entry for main