adding in support for checks