switching line addition logic
adding routes for store and data