implemented the all the apis and uis