allows custom alignment rules