Use core_write to improve performance
Merge remote-tracking branch 'origin/master'