phase 1: integration