enabled debugging
changed pre to debug