adding non-append write capability