added argc and argv to main