Added the min function