@pradeeban in this file in general we have too much global state; you should create a constructor, and have fields