changed min to sec