Changed naming to make variables more clear.