adds debug mode, makes everything better