Nothing major

Simplifiy startswith and endswith.