Simplifies capitalization algorithm