Fixed indentation an argc checking

Fixded indentation and argc checking as requested.