Fixed bug. There was one too many '}'.