added new arguments parsing method