added argc/argv inputs and got rid of debugging output