added another wrapper method for writing without new line