added writeQuick and writeQuickSync