repaired broken assignment 18