added reflection checks to see if value of degrees is set correctly