connected detail view and started with state rep data