Function declaration in code blocks