Inline debug function to improve runtime speed
Add new expressions for sources