condense module definitions