removed unnecessary $max_age parameter from exist method