wrong order of declaration