correction, removed braces
fixed $ and braces