changed statement of cond to include IH
added composition proof