Avoid mixing declarations and code