add some new functions about eventview