Added cap word replacement