added rendered callback