correct declaration error