still not done. working on off by one storage error