scaffold for gif retreival