modyfing api