new way to generator session id