correct misspell method name "caculate" -> "calculate"