adding API definitions