refactor my hot apis