added selected state