add check for empty bags in complete? method