A Thorough Analysis of Detention