done 1st phase
