Should have used .isEmpty :(