added embedded resource example