switched for valid name