* simplified some code (almost no changes to binary output)