created add quiz functionality