template method for callback lazyload