add store functionality