Implemented multiple optimal instances