finalized frontend