https://home.iitk.ac.in/~spradip/modules/ceprlab.html