Breaking up image response into separate methods