Optimization - Replacing list result with continuation