make setLastRun public so it functions with impl out of package.