added new framework delegate: onLoaded