added checking for no item found in examine command