core: extract basic operations