add solution ex 5