adding the 'pat' plugin