controller almost done