Small correction for let and added print functions