rename trim() method