variable declaration intermingled with code