fix eq in classical and code for example