refactored events and objects(mines)