making very complex calculations like jarvis