** Added check to getItem function