committal to custody