attempt at proper session