They performed the same functions .
Were somewhat disreputable , as they were frequented by thieves and prostitutes .
They performed the same functions but were somewhat disreputable , as they were frequented by thieves and prostitutes .