modified completed solution lecture 142 challenge