add support for leonardo and due