rapid comparison also implemented