outputing combined string