add domain and basic code