added firstpaint & gzip