added sources for original code