almost done frontend