remove need for additional column and associated checks.
fix melt call now that column numbers have been reduced
start looping work