methods of receiving API are reworked