Written by Sebastian Ohl <sebastian@ohl.name>
base on the example plugin
