Removed unnecessary comma and added curly brace in example