edited procedure