I was following an animate example for this.