Condensed code.