better base class trying to smooth up animations