fixed incompatible method signatures
changed domainname
sample code to list everything