full functionality before history and sessions