add position method and or expressions