First version of the main method
Merge remote-tracking branch 'origin/master'