added some more debug api's for dev work