rewrote bridge application