groundwork for unclean close options
code style