use single function to get instantquiz instance