minor style touchups
moved the Save Assignment func into a method