democracy analysis