refactored out anonymous inner class