Create method

I wish to resolve #10 with this pull request.