can delete this if clause?