fixed errors, accept multiple args