updated pom.xml and took out unused variable.