store data rather than promise