with let funtion