aded basic api stuffs