refactor how to use with a gif demo