allow declarations after other statements in functions