diff --git a/src/app/components/shared/statistic/statistic.component.ts b/src/app/components/shared/statistic/statistic.component.ts
index 2d754062452e3775236641b0d108b785e063b5a1..964e71fb5f902fe365ec20a28bcaeb055906cafc 100644
--- a/src/app/components/shared/statistic/statistic.component.ts
+++ b/src/app/components/shared/statistic/statistic.component.ts
@@ -35,6 +35,8 @@ export class StatisticComponent implements OnInit {
   subject: string;
   maxLength: number;
   isLoading = true;
+  showsCorrect = false;
+  correctIndexes: number[];
 
   constructor(protected route: ActivatedRoute,
               private contentService: ContentService,
@@ -50,6 +52,7 @@ export class StatisticComponent implements OnInit {
     this.labels = new Array<string>();
     this.answerList = new Array<AnswerList>();
     this.data = new Array<number>();
+    this.correctIndexes = new Array<number>();
     this.route.params.subscribe(params => {
       this.contentId = params['contentId'];
     });
@@ -59,6 +62,22 @@ export class StatisticComponent implements OnInit {
     });
   }
 
+  switchAnswers() {
+    if (this.showsCorrect === false) {
+      this.showCorrect();
+    } else {
+      this.showNormal();
+    }
+  }
+
+  showCorrect() {
+    this.showsCorrect = true;
+  }
+
+  showNormal() {
+    this.showsCorrect = false;
+  }
+
   getData(content: ContentChoice) {
     this.subject = content.subject;
     const length = content.options.length;