My Solution for Challenge #169