cleaned up image array