riddle solved, result should be correct now