updated for animated gif 1