First domainCheck method created and tested