added the capability of using format handlers