minor assignment 3 adjustments