added topping test and rewrote let statements