add methods to make actions to the apis