Fixed error with unfinished design comparison function