Changed randItem method