added proc arg