The point of the wrap functions is because of Pascal script having memory
problems