added generic write