added some comments, working on segment code...