trail basic plugin to be reuse