asserts, logging, oh my