debugging emmy/matt