parsing out code items
adding gradient asscent