New implementation of parsing args