Added missing variabl declarations (#166)