Code for 1st phase