add refrence and db3,output message