callback statement added to generalAnimation, better keep it always updated