question helper wrap function