a very simple adapt plugin