it also includes measures to protect public safety. Judges may impose conditions on bail