#4 renaming 'end' method to 'main'