removing biases, moving unimportant function
to bottom of file