My work for the minimal models algorithm