added sample image-related stuff