some content changes and the algoirthm. its cray