Preparation around windows