A circuit board design uses CMOS sensors for the tip section of a multi-viewing element endoscope. Side sensors and their optical assemblies are assembled to a common base board to save space. Individual base boards are separately constructed, inserted into grooves of a main base board, and are further connected to the main base board by means of flexible circuit boards.