can not return undefined value