checking to see if first calculation works