Add a check for empty account