got rid of extra curly brace