Change calculate method for version 0.0.1