Removed debug code left in the code