matching and ordering questions working