small errors corrected, some steps towards validation-conformity