a man in pre-trial detention