Added writing window c