added visited as a timestamp of last_visit