optimization for operation ~ added