replaced \[ & \] with double dollar sings