judicial custody extension