calcs above correctly