Added a trace to the constructor
Added function foo