Solving #24.