added let functionality