Removed redundant check