added week5 skeleton code