Mixed declaration and code