added try/catch for displaying arguments