refactored bridges into single file