implemented phase 2