optimisation in cat