added some small comments and a version test