Changed BagCheck to use case classes (you can send parameters with these)