Added startswith and endswith functions