fixed code

fixed closings & deleted extra date code