original code credit