removed double defined variable