change the constructor of prescription