working for multiple operators and multiple numbers except powerof