Arguments passed to user function have to be properly allocated on heap