removed storeImage for demo