Removed unnecessary if clause