adding inactivityTimeout feature