working on a little refactoring & documentation