added gifify to functions