adding ability to lazily load images