added method for /compare