try to decouple Plate.jsx