added a missing curly brace