use unicorn, fixes #3 and #1