added gif feature