prototyping plugin API with vote feature