add interface for adding calls to global functions