updated to include ancillary check