added check stuff