added new code for selected and wrong articles