initial implementation of calculation operations