finished first two parts of exc calc