added andrew codealong code