Our framework consists of the following three phases: