fix bug about result object initialization
Add initial output message