made operator binding code a bit more declarative