simplify arguments parsing