adding legand