Merge pull request #2 from lclc98/master

Made finding init method more efficient