now a working plugin... now to add functionality