added feature requested in #112