adding leg structure