refactored etherObject to gameObject and added switch