extra memory safety