undefined values handled