Code for computer-assisted monitoring system