add exception raising if no object found