Added println message to method foo() of class DefaultController