add new functions, add behavior limit for san, and fixes #1
uh oh