ADDED: Warnings when LOCAL variables are used