gif input finally working! much beauty