make function more readable
rename functions/variables to make more sense