insterted a justdomain parameter whch gives back a logical value indicating if input just contains domain