interfacing with runtime