updated let expressions
updated function app