generate mins