change api to have single message string