fixing indentation and extracting pom variable