Updated sanity check to comply with mode 3