make it an inner class cos it only has one method