Event bin function work