WIP: start rewriting extensions to operatins