cant check len(Nonetype)