Implemented calc method