Working on gif generator