Added legs api