IFS Solution (also contains solution comparator)