If the repo is already lazy, is it necessary to use anonymous function here?