make store generic