added proc and use