Ichiko has guitar practice at 5:00 P.M. on Wednesday. It takes 20 minutes for him to get to his lesson from school. He spends an hour in the science lab before leaving. If it takes 10 minutes to get ready for the lab, what time does his class end?