abstract some of the hard coded varibles