added peg orginal coordinates