created and executed main function
Merge pull request #1 from Barvin/local

created and executed main function