* fixed little mistake, have to check for value first