edit function SecToMin