adding leda support

pull request with leda support