Add truncate and error msgs