creating different calculation flows