added makePeg
minor change to make peg