New function was added.  Errors were fixed.