Main: Printing contexts in functions for debugging