fixed some comments and added version