add validity and nil check for convIn