extracted quiz to widget