look up correlations in environment
some praentheses mysteriously fix scaling logic
event modifications inside function for dynamicism