made method static and changed pom version