added session tracking to remember user's choices