Proved some lemmas