Solved the second part of the puzzle