Added remote write field function