Added parameter to retrieve custom data