preparations for charwrite support