the basic plugin prototype of tab