latest activity id retrievals integrated successfully.