adding operator functionality