$width and $height. Then I get the "division by zero" error on the last two lines. But I am not really sure why those variables are zero.