Week 6 - fix bug