first version on testcase issue#81