event function call working with args