added view events for functions values