Changed virtual public to public virtual