Current working status. TODO: correct randomness by adding an `approved` table with sequential ids.