- building session dynamically