small changes to Chris's tut