updating code with Michael but falling behind