Added dummy data writing method