Removed temproary debug code