adding a functional plugin