Added comments and some little fixes