old code that is no longer needed here. Renamed to anew file 'dev'