added cond function
added let function
added let* function
merge common code of let and let*