added checkItem to inventory