Revert "pass the pointer to the user"

This reverts commit b99e3f33a3b8acaad8ac45e648e4d0e58fbedec5.