changed how arguments are parsed