legs source files added