improvements in filesize and performance