Added write capability