Modifing exp to minimize imported libraries