string concatenating from input