working on domain checking
found example, not sure why it is not working