Using minimum predefined functions