updated The calc method and added my second view