changed this.ct to increment every time