fleshed out reportWriter class