reducing dependency of Params.java