whoops
added a log line
added some little sanity checking to simulator