changed the name of main to make usage more clear