It was not therefore surprising that houses of confinement had the appearance of prisons, and that often the one was taken for the other, so much so that at times the mad were placed in both almost indiscriminately.