init and gif creator
gif