Endogenous pacemaker – internal body clock which maintains a regular cycle, and keeps biological rhythms to time. The endogenous pacemaker for the sleep wake cycle is the suprachiasmatic nucleus, (SCN), which is found in the hypothalamus in the optic chiasm of the optic nerves. It detects light, which causes it to inhibit melatonin production from the pineal gland, resulting in an inhibition of the sleep response.