making messages persistent