add split func for response and profile