add extra functions for StateRunner