added getArguments method