testing for optimisation