simplified similarity functions, fixed GM match IT