public Object getData(int pos) {
            if (pos == 1){
                return this.data1;
            }
            if (pos == 2){
                return this.data2;
            }
            if (pos == 3){
                return this.data3;
            }
            if (pos == 4){
                return this.data4;
            }
            if (pos == 5){
                return this.data5;
            }
            if (pos == 6){
                return this.data6;
            }
            if (pos == 7){
                return this.data7;
            }
            else {
                throw new Error("Sorry! Position not found");
            }
        }