added write() method