modification to run with latest version. reduced functionality