cleaning up.
temporary hack.
implementing loggerset.