plugin ref & formatting