Fixed some bugs.  Months later, basic syntax still hard, but the coding practice must go on