add ownership transfer, closes #4