Found weirder way of doing this.