added proc and changed py