didnot getattr a second time in find if not needed