A solution to a puzzle challenge