Wrote input instead of output for the store.