Moved to check for object instead of specific string