added addressCheck stuff