Trial implementation.
Merge pull request #11 from mizutaki/20141013

I was cut out to class.