Small performance optimisation