add a bouncing ball examples introducing width and height methods