adding lookup and testing retrieved instance in view