update programming challenge 2