cleaned up logging, prints and strings