fix #2

The first step for the internal hero api is done.