more xtext work
Rev eng algorithm