some comments, skiming the code, looks good.