code decompiled, first tutorial in progress