pass data to actionParams function values