Simulation of EXTOPK and improved version