begin layout changes