declared static wrong