add durability
Merge pull request #2 from jgpawletko/durable

add durability