safer code