changed input to degrees