taking out real values, some comments added