works on full image