quiz functionality added