source code decompressed part 1