That whole logic needs to go to a deeper layer.