removed printlns; added arch diagram