binding cap to session