these are the checks to make sure stuff is there