refined reader, added logical not, rewrited asd file