doing the imageapp stuff