finished first iteration of comparison script