data prehandle