fixed more variable names in assign_points