pulling out some variables