finalized CSS, functionality