weak delegate instead of unsafe
Merge pull request #7 from gshaviv/master

weak delegate instead of unsafe