corrected } error