renamed some of the poorly named variables