please initialise variables in here rather than in the constructor.