make ImagineController be unit.