adding rest in pom