Updated pom and refactored bit of code.