removed printhelp() from main. No parameters are accepted