change param to session