adding split net.  cleaned up comments.