Adding onBase rendering events