add global hint
use object map for faster lookup