add variable in declaration names to avoid conflicts