comment converning cache-related optimisation that might be added