Implement global statement feature