almost have let statements completely working