safer memory management.