work on worker2 performance optimization