tmp
minor edits from fiddling with the code.