minor changes to animation private to public inheritance