sanity checks working