PROPER : return undefined if input is