using pex as an extension