updated with procedure view