change method proto

Resolves #25