fix for worong answer in quiz 17
share closing implimentation