tomdoc some methods