something for api method need to be fixed