removed regex code