printing a garbage character, but otherwise doing stuff right, mostly.