added printfs to storage.h