util func for Alignment