cap alignment