use endswith()