corrected missing brackets, units, and parenthesis