adding domain
adding staging call and clear error reporting
clearer error reporting