add on-the-fly code checking