Completed min implementation.