Ex7 more variables, some math