align functionality