replacing the usage of returning by projection for issue 24