Front end for PM done