refactored addAction to addLocalAction