updated procedure