Added domain creation but not quite working