Do you need brackets after this line?
your code above
while(!Serial);
like this instead
while(!Serial){}