Formatting, removed duplicate $ check.