added some domain apis and idea comments