deleted console info,changed message to object.