modified logging statements to be more java-esque.