slight refactoring of line
code cleanups to open