works with shared ptr
added boost example