added \n to the strcmp's