added Animation class