create plugin for element