updated calc sws