added static to endsWith