adding Moody source code