factor out some terms