inside and outside aligning