added some comments
compiled the class code