Move variables declarations up.