Emma source code