assign quiz w/ searching function