Removed some debug output and changed style.