Added missing declare statement