added some comments and shtuff