change signature of API method