Updated method min