fix missing curly brace, indentation. hope I got this right.