changed encoding to utf8(without bom) and added more layers