declaring array events