added quiz pass functionality