implement fromLazy