added some helpers.

see #112