Stage7: implemented store functionality