move contructor to top above other methods