removed dependency for optimisation