added missing curly brace