added sanity_check to subjects