5th solution: generic method on the singleton class