added writeroom mode