Added Write API