Missed a close-paren [SYNTAX]
removed pinMode(10,OUTPUT) declaration because it's in twice.