minor changes to get it to run.