enough code to fetch a timeline