Added address check functions;