Added some pseudo code for pull process