no longer dependant on CI object