removed op function as it was execssive