add some comments
clean up adapter #16