describe the 3 main functions and responsibilities of a court based criminal justice pretrial service agency. In addition, please describe the pretrial arrest and bond setting / determination process. Please include elements that may be used when determining an appropriate bond amount. Lastly, please describe the different types of bonds that can be set.