variable amount of legs now supported