if (val) same as if (val != '')