sperate query for timeline