added sync_images and began planning asynch writes