modify to a compact form