refactor inline value module