Using .empty() instead of .size()