issue-2 use shared_ptr
Merge pull request #4 from zalando/issue-2

issue-2 use shared_ptr