Refactoring to create a singleton object for answers array
On basis of new class, lets use it