2013.12.25

modify the buildOG function