turn calc into general processor