changing to codeigniter way